package main

import "fmt"

func main() {
	var s []int
	for i := 0; i < 100; i++ {
		s = append(s, 2*i+1)
	}
	fmt.Println(s)
	s2 := make([]int, 16)
	s3 := make([]int, 16, 32)
	copy(s2, s)
	fmt.Printf("len=%d,cap=%d\n", len(s2), cap(s2))
	fmt.Printf("len=%d,cap=%d\n", len(s3), cap(s3))

}
